<?php

namespace Modules\Wx\Entities;

use Illuminate\Database\Eloquent\Model;

class WxRole extends Model
{
//    protected $fillable = [];
    protected $guarded = [];

//    规则表对关键词是一对多关系
    public function guanjian(){
        return $this->hasMany(WxKeyword::class,'role_id','id');
    }

}
